<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/htmL1/DTD/xhtml1-transitional.dtd">

<!--
/***********************************************
* 파일명   	: attend_list_ajax.jsp
* 기  능      	: 근태등록-결과조회 LIST
* 최초 작성일 	: 2009/01/15
* @author 	: Yang D
*************************************************
-->

<html>
<head>
</head>
<body>
    <!----------Tbl_info & Table box ------>
    <div id="tbl_info_box">
		<s:hidden name="chk_in_msg" 	id="chk_in_msg"	/>
		<s:hidden name="chk_out_msg" 	id="chk_out_msg"/>
	    <ul><li class="txt"><b>조회 건수 :</b><s:property value="rowCount"/> 건</li></ul>
    </div>
		<table class="product_tbl">
			<tr>
				<th rowspan="2">선택</th>
				<th rowspan="2">기준일자</th>
				<th rowspan="2">요일</th>
				<th colspan="6">출&nbsp;&nbsp;&nbsp;근</th>
				<th colspan="6">퇴&nbsp;&nbsp;&nbsp;근</th>
				<th rowspan="2">휴가반영</th>
			</tr>
			<tr>
				<th>일자</th>
				<th>시간</th>
				<th>IP</th>
				<th>상세정보</th>
				<th>확인자비고</th>
				<th>확인자</th>
				<th>일자</th>
				<th>시간</th>
				<th>IP</th>
				<th>상세정보</th>				
				<th>확인자비고</th>
				<th>확인자</th>
				
			</tr>
			<s:iterator value="list">
			<tr>
				<td><input type="checkbox" id="s_chk" name="s_chk" value="<s:property value="yyyymmdd"/>"  onclick="fnc_selct_items()" <s:if test='confirm_yn == "Y"'>disabled="disable"</s:if>/></td>
				<td><s:property value="yyyymmdd" /><s:hidden value="yyyymmdd" /></td>
				<td>
					<s:if test='dayname == "토"'>
						<font color="blue"><s:property value="dayname" /></font>
					</s:if>
					<s:elseif test='dayname == "일"'>
						<font color="red"><s:property value="dayname" /></font>
					</s:elseif>
					<s:elseif test='in_detail_nm == "공휴일"'>
						<font color="red"><s:property value="dayname" /></font>
					</s:elseif>
					<s:else>
						<s:property value="dayname" />
					</s:else>
				</td>
				<td><s:property value="in_dt" /><s:hidden 		value="in_dt" /></td>
				<td><s:property value="in_time" /><s:hidden 	value="in_time" /></td>
				<td><s:property value="in_reg_ip" /><s:hidden 	value="in_reg_ip" /></td>
				<td><s:property value="in_detail_nm" /><s:hidden value="in_detail" /><s:hidden value="in_detail_nm" /></td>
				<!--td><s:property value="in_etc_mgr_memo" /><s:hidden 	value="in_etc_mgr_memo" /></td-->				
				<td><font color="blue"><span title="<s:property value="in_etc_mgr"/>"><s:property value='in_etc_mgr_memo' /></span> </td>			
				<td><s:property value="in_approv_emp_nm" /><s:hidden 	value="in_approv_emp_nm" /></td>
				<td><s:property value="out_dt" /><s:hidden 			value="out_dt" /></td>
				<td><s:property value="out_time" /><s:hidden 	value="out_time" /></td>
				<td><s:property value="out_reg_ip" /><s:hidden 	value="out_reg_ip" /></td>
				<td><s:property value="out_detail_nm" /><s:hidden 	value="out_detail" /><s:hidden 	value="out_detail_nm" /></td>				
				<!--td><s:property value="out_etc_mgr" /><s:hidden 	value="out_etc_mgr" /></td-->
				<td><font color="blue"><span title="<s:property value="out_etc_mgr"/>"><s:property value='out_etc_mgr_memo' /></span> </td>
				<td><s:property value="out_approv_emp_nm" /><s:hidden 	value="out_approv_emp_nm" /></td>
				<td><s:property value="advantage_nm" /></td>
			</tr>
			</s:iterator>
		</table>
		    <!----------Tbl_info & Table box ------>
		    <!-- 페이징 Start -->
		<div class="pagination">
    <s:property value="pDao.html" escape="false"/>
</div>  
    <!-- // 페이징 End -->
</body>
<script src="inc/js/ajaxCommon.js"></script>
	
</html>